#!/bin/bash 
# 让用户输入自己的姓名，新建一个 姓名-日期.bak 的文件

read -p "请输入您的姓名" usrname
filename=${usrname:-filename}
filename+="-`date +'%Y%m%d'`.bak"
echo $filename is created!
touch $filename
exit 0

